package com.JZ.QM.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @author lyp
 * @email lyp@gmail.com
 * @date 2020/6/16 20:56
 */
@Data
public class CombinationProductDto {

    @NotNull(message = "组合id必须提交")
    private Long comBaseId;

    @NotNull(message = "用户id必须提交")
    private Long userId;

    @NotNull(message = "成分产品不能为空")
    private List<ProductRatioDto> productRatioDtoList = new ArrayList<>();
}
